package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 问题解决对象 ask_que
 * 
 * @author jzy
 * @date 2024-01-23
 */
public class AskQue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生提问id */
    private Long id;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String stuName;

    /** 学生邮箱 */
    @Excel(name = "学生邮箱")
    private String stuEmail;

    /** 学生微信 */
    @Excel(name = "学生微信")
    private String stuWechat;

    /** 学生电话 */
    @Excel(name = "学生电话")
    private String stuPhone;

    /** 学生班级 */
    @Excel(name = "学生班级")
    private String classes;

    /** 提问时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提问时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date questionTime;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String problemType;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String teacherName;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String problem;

    /** 问题状态  0-待解决 1-已解决 */
    @Excel(name = "问题状态  0-待解决 1-已解决")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setStuEmail(String stuEmail) 
    {
        this.stuEmail = stuEmail;
    }

    public String getStuEmail() 
    {
        return stuEmail;
    }
    public void setStuWechat(String stuWechat) 
    {
        this.stuWechat = stuWechat;
    }

    public String getStuWechat() 
    {
        return stuWechat;
    }
    public void setStuPhone(String stuPhone) 
    {
        this.stuPhone = stuPhone;
    }

    public String getStuPhone() 
    {
        return stuPhone;
    }
    public void setClasses(String classes)
    {
        this.classes = classes;
    }

    public String getClasses()
    {
        return classes;
    }
    public void setQuestionTime(Date questionTime) 
    {
        this.questionTime = questionTime;
    }

    public Date getQuestionTime() 
    {
        return questionTime;
    }
    public void setProblemType(String problemType) 
    {
        this.problemType = problemType;
    }

    public String getProblemType() 
    {
        return problemType;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuName", getStuName())
            .append("stuEmail", getStuEmail())
            .append("stuWechat", getStuWechat())
            .append("stuPhone", getStuPhone())
            .append("classes", getClasses())
            .append("questionTime", getQuestionTime())
            .append("problemType", getProblemType())
            .append("teacherName", getTeacherName())
            .append("problem", getProblem())
            .append("status", getStatus())
            .toString();
    }
}
